package com.china08.yxyapi.entity.mg.scoreport.report;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;
import com.china08.yxyapi.entity.mg.scoreport.Exam;

/**
 * @author Richard.Wang 考试--小题分析--总体分析</br>
 *         每个班级考试存储为一条数据.
 * 
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.tea.score.report.exam.ques.overview")
public class ExamQuesOverviewAnalyse extends MongoBaseEntityNoId {

    /** 主键 */
    @Id
    private String id;

    /** */
    @DBRef(lazy = true)
    private Exam exam;

    @Field(value = "ques_sum")
    private Integer quesSum;// 试题数量

    @Field(value = "lose_point_rate")
    private Double losePointRate;// 题均失分率

    @Field(value = "max_score_ques")
    private String maxScoreQues;// 得分率最高的 题号

    @Field(value = "paper_lose_point_rate")
    private Double paperLosePointRate;// 本次卷面失分率

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Exam getExam() {
        return exam;
    }

    public void setExam(Exam exam) {
        this.exam = exam;
    }

    public Integer getQuesSum() {
        return quesSum;
    }

    public void setQuesSum(Integer quesSum) {
        this.quesSum = quesSum;
    }

    public Double getLosePointRate() {
        return losePointRate;
    }

    public void setLosePointRate(Double losePointRate) {
        this.losePointRate = losePointRate;
    }

    public String getMaxScoreQues() {
        return maxScoreQues;
    }

    public void setMaxScoreQues(String maxScoreQues) {
        this.maxScoreQues = maxScoreQues;
    }

    public Double getPaperLosePointRate() {
        return paperLosePointRate;
    }

    public void setPaperLosePointRate(Double paperLosePointRate) {
        this.paperLosePointRate = paperLosePointRate;
    }

}
